<%-- 
    Document   : checkusername
    Created on : 07 Apr 11, 21:17:42
    Author     : Dana
--%>

<%@page import="database.Database"%>
<%@page contentType="text/xml" pageEncoding="UTF-8"%>

<%
    out.print("<root>");
    Database database = new Database();
    database.connect();
    if (database.isUserExist(request.getParameter("name"))) {
        out.print("false");
    } else {
        out.print("true");
   }
    out.print("</root>");
%>